package com.ycxy.sh.transaction.service;

import com.ycxy.sh.transaction.dao.entity.UserInfo;
import com.ycxy.sh.transaction.dao.entity.chat.ChatMsg;
import org.springframework.scheduling.annotation.Async;

import java.util.List;

/**
 * @Auther: 宋H
 * @Date: 2023/3/22
 * @Description: com.ycxy.sh.transaction.service
 * @version: 1.0
 */
public interface ChatmsgService {
    //插入发送的消息记录
    void insertChatmsg(ChatMsg chatmsg);
    //查询聊天记录
    List<UserInfo> LookChatMsg(ChatMsg chatMsg);
}
